#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import logging
import logging.config

import org.rency.face.support.OSSupport as osSupport


class Logger:

    def __init__(self, config):
        logging.config.fileConfig(config)

    def getLogger(self, loggerName='default'):
        return logging.getLogger(loggerName)


if __name__ == '__main__':
    logger = Logger('logconfig.ini')
    logger.getLogger('default').info(osSupport.OSSupport.getCurrentDir())